package com.video.videos.service;

import com.video.common.result.PageResult;
import com.video.videos.domain.dto.InsertCommentDto;
import com.video.videos.domain.dto.QueryCommentDto;
import com.video.videos.domain.dto.QueryPageDto;
import com.video.videos.domain.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author la
 * @since 2024-11-13
 */
public interface ICommentService extends IService<Comment> {

    /*
    * 分页查询评论列表
    * */
    PageResult queryCommentList(QueryCommentDto dto);

    /*
    * 发布评论方法
    * */
    void publishComment(InsertCommentDto dto);
}
